package com.hs.jhzd.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.fasterxml.jackson.annotation.JsonIgnore;

import lombok.Data;

@Entity
@Table(name = "ss_user")
@Data
public class User {

  @Id
  private Long id;

  @Column(name = "del_flag")
  private int rybj;

  private String name;

  @Column(name = "account")
  private String policeNum;

  @JsonIgnore
  private String pwd;

  @JsonIgnore
  private String salt;

  @Transient
  private Police police;

}
